package com.user.dao;

import com.wukc.springcloud.domain.user.Role;
import com.wukc.springcloud.domain.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapperDao {

    public User loadUserByUsername(String userName);

    public List<Role> getUserRolesByUid(Integer id);

}